$OpenBSD: patch-chrome_common_pref_names_cc,v 1.3 2015/05/26 17:37:40 robert Exp $
--- chrome/common/pref_names.cc.orig.port	Thu May 14 00:35:46 2015
+++ chrome/common/pref_names.cc	Wed May 20 08:34:56 2015
@@ -882,7 +882,7 @@ const char kForceYouTubeSafetyMode[] = "settings.force
 // supervised users.
 const char kRecordHistory[] = "settings.history_recorded";
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
 // Linux specific preference on whether we should match the system theme.
 const char kUsesSystemTheme[] = "extensions.theme.use_system";
 #endif
@@ -1431,7 +1431,7 @@ const char kDownloadDefaultDirectory[] = "download.def
 // upgrade a unsafe location to a safe location.
 const char kDownloadDirUpgraded[] = "download.directory_upgrade";
 
-#if defined(OS_WIN) || defined(OS_LINUX) || \
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_BSD) || \
     (defined(OS_MACOSX) && !defined(OS_IOS))
 const char kOpenPdfDownloadInSystemReader[] =
     "download.open_pdf_in_system_reader";
